<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp" %>

<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title>PMS项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
	<link type="text/css" href="css/mycss.css" rel="stylesheet"/>
</head>
<body class="body">
	<%@ include file="include/top.jsp" %>
	
	<div class="container">
		<div class="row">
		
			<jsp:include page="include/side.jsp">
				<jsp:param value="material" name="tag"/>
			</jsp:include>
			<div class="span9">
				<ul class="breadcrumb" style="margin-bottom:0px;;border-radius:3px 3px 0 0;margin-top:15px;">
					<li class="active">
						<a href="material.jspx?_m=material"><i class="icon-floder-open"></i>资料</a>
					</li>
					<li class="pull-right"><i class="icon-plus"></i><a href="material.jspx?_m=new_material" class="link-black">分享新资料</a></li>
				</ul>
				<div class="wall" style="margin-bottom:20px;">
					<%
						List<Material> m_list = (List<Material>)session.getAttribute(Const.MATERIAL_IN_SESSION);
					 	for(Material m : m_list){
					 %>
					<blockquote>
						<h4><a href="material.jspx?_m=show&id=<%=m.getM_id() %>"><%=m.getM_title() %></a></h4>
						<p style="font-size:14px;line-height:1.5;">
							<%=m.getM_content() %>
						</p>
						<small>发表于一个月前</small>
						<a href="material.jspx?_m=edit&id=<%=m.getM_id() %>" title="编辑" ><i class="icon-pencil"></i></a>
						<a href="material.jspx?_m=delete&id=<%=m.getM_id() %>" title="删除" ><i class="icon-trash"></i></a>
					</blockquote>
					<%  } %>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="http://lib.sinaapp.com/js/jquery/1.7.2/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
</body>
</html>
